﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CSharpDelegateLambda
{
    internal class Program
    {
        static void Main(string[] args)
        {
            LambdaDemo lambdaDemo = new LambdaDemo();
            lambdaDemo.Test1();
            Console.WriteLine("----------------------------------");

            GenericDelegate genericDelegate = new GenericDelegate();
            genericDelegate.Test1();
            Console.WriteLine("----------------------------------");

            ActionAndFuncBase actionAndFuncBase = new ActionAndFuncBase();
            actionAndFuncBase.Test1();
            Console.WriteLine("----------------------------------");
            actionAndFuncBase.Test2();

            Console.ReadLine();
        }
    }
}
